import {createRouter, createWebHistory} from 'vue-router'
import {authorization,routes} from "@/router/authorization.ts";

const router = createRouter({
    history: createWebHistory(import.meta.env.BASE_URL),
    routes,
})
router.beforeEach(authorization)
export default router
